
package br.com.mynage.dao.impl;

import java.util.List;

import br.com.mynage.dao.IRecadoDao;
import br.com.mynage.dominio.Recado;

/**
 *
 * @author Elaine
 */
public class RecadoDaoImpl extends GenericDaoImpl<Recado> implements IRecadoDao  {

    
    public Recado getRecado(long id) {
        //Session session = HibernateUtil.getSessionFactory().openSession();
        //return (Recado) session.load(Recado.class, id);
    	return null;
    }
    
    public List<Recado> list() {
        //Session session = HibernateUtil.getSessionFactory().openSession();
        //Transaction t = session.beginTransaction();
        //List lista = session.createQuery("from Recado").list();
        //t.commit();
        //return lista;
    	return null;
    }

	@Override
	public Class<Recado> getClassType() {
		return Recado.class;
	}
    
}
